<?php
/**
 * CreateTime: 2024/1/11 16:20
 * User:LinQ
 */

namespace App\Http\Controllers\System;

use App\Http\Controllers\BasicInterfaceController;
use App\Http\Controllers\Controller;

class CaptchaController extends Controller implements BasicInterfaceController
{
    public function getChatCaptcha(){
        $captcha = app('captcha')->create('default', true);
        s_c_return([
            'key' => $captcha['key'],
            'captcha_base64_img' => $captcha['img']
        ],trans('message.created_ok',[
            'name' => trans('key.captcha')
        ]));
    }

    public function getList()
    {

    }

    public function getSelect()
    {

    }

    public function getSelectHasPage()
    {

    }

    public function getInfo($id)
    {

    }

    public function create()
    {

    }

    public function fakeDelete($id)
    {

    }

    public function fakeDeleteByIds($ids)
    {

    }

    public function delete()
    {

    }

    public function update($id)
    {

    }
}
